package com.cwh.springbootMybatis.mapper;

import com.cwh.springbootMybatis.entity.SssfmIoBillItem01;
import com.cwh.springbootMybatis.entity.SssfmIoBillItem01Key;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SssfmIoBillItem01Mapper {
    int deleteByPrimaryKey(SssfmIoBillItem01Key key);

    int insert(SssfmIoBillItem01 record);

    int insertSelective(SssfmIoBillItem01 record);

    SssfmIoBillItem01 selectByPrimaryKey(SssfmIoBillItem01Key key);

    int updateByPrimaryKeySelective(SssfmIoBillItem01 record);

    int updateByPrimaryKeyWithBLOBs(SssfmIoBillItem01 record);

    int updateByPrimaryKey(SssfmIoBillItem01 record);
    int createTable(@Param(value = "tableName") String tableName);

    void insertDate(@Param(value = "sdata") String sdata);

    void createTableqtcy(@Param(value = "tableName") String s);



    List<SssfmIoBillItem01> queryStep1(@Param(value = "tableName") String tableName);//

    List<String> queryStep2(@Param(value = "tableName") String tableName);//


    List<SssfmIoBillItem01> selectByIds(@Param(value = "tableName") String tableName,@Param(value = "idList") List idList);//

    List<SssfmIoBillItem01> selectByIdsbak(@Param(value = "idList") List idList);//

    int insertAll(@Param(value = "tableName")String s);//

    int delByIdsbak(SssfmIoBillItem01 sssfmIoBillItem);


}